Using Delays to Improve RMR Time Complexity in Mutual Exclusion Algorithms
نویسندگان
چکیده
We consider the time complexity of shared-memory mutual exclusion algorithms under the remote-memory-reference (RMR)time measure. In particular, algorithms based on reads, writes, and comparison primitives are considered. For such algorithms,a lower bound of Ω(log N/ log log N) RMRs per critical-section entry has been established in previous work, where N is thenumber of processes. Also, algorithms with O(log N) time complexity are known. Thus, for algorithms in this class, logarithmicor near-logarithmic RMR time complexity is fundamentally required. In this paper, we consider the question of whether better RMR time complexity is attainable if processes have the abilityexecute delay statements. When assessing the time complexity of delay-based algorithms, the question of whether delaysshould be counted arises. We consider both possibilities. Also of relevance is whether delay durations are upper-bounded.Again, we consider both possibilities. For each of these possibilities, we present an algorithm with either Θ(1) or Θ(log log N)time complexity. We also show that the Θ(log log N) algorithms that are given are asymptotically optimal by establishingmatching lower bounds. It follows from these results that the usage of delays can result in substantial improvements in RMRtime complexity, regardless of how one resolves the issues noted above. Work supported by NSF grants CCR 9972211, CCR 9988327, ITR 0082866, and CCR 0208289.
منابع مشابه
Timing-Based Mutual Exclusion with Local Spinning
We consider the time complexity of shared-memory mutual exclusion algorithms based on reads, writes, and comparison primitives under the remotememory-reference (RMR) time measure. For asynchronous systems, a lower bound of Ω(log N/ log log N) RMRs per critical-section entry has been established in previous work, where N is the number of processes. In this paper, we show that lower RMR time comp...
متن کاملEfficient Mutual Exclusion Algorithm for High System Congestion
We propose an efficient mutual exclusion algorithm with respect to remote memory reference(RMR) complexity that measures remote accesses to shared memory. The worst-case RMR complexity for one access to a critical section with N processes has been proven to be θ(logN). Though our algorithm has the same worst case RMR complexity, the algorithm becomes efficient with increasing the number of proc...
متن کاملAbortable Reader-Writer Locks Are No More Complex Than Abortable Mutex Locks
When a process attempts to acquire a mutex lock, it may be forced to wait if another process currently holds the lock. In certain applications, such as real-time operating systems and databases, indefinite waiting can cause a process to miss an important deadline [20]. Hence, there has been research on designing abortable mutual exclusion locks, and fairly efficient algorithms of O(log n) RMR c...
متن کاملTime Complexity Bounds for Shared-memory Mutual Exclusion
YONG-JIK KIM: Time Complexity Bounds for Shared-memory Mutual Exclusion. (Under the direction of James H. Anderson.) Mutual exclusion algorithms are used to resolve conflicting accesses to shared resources by concurrent processes. The problem of designing such an algorithm is widely regarded as one of the “classic” problems in concurrent programming. Recent work on scalable shared-memory mutual...
متن کاملLocal-spin Algorithms for Variants of Mutual Exclusion Using Read and Write Operations
LOCAL-SPIN ALGORITHMS FOR VARIANTS OF MUTUAL EXCLUSION USING READ AND WRITE OPERATIONS Robert Danek Doctor of Philosophy Graduate Department of Computer Science University of Toronto 2011 Mutual exclusion (ME) is used to coordinate access to shared resources by concurrent processes. We investigate several new N -process shared-memory algorithms for variants of ME, each of which uses only reads ...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2007